package com.fundodoo.sfe.common.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.fundodoo.sfe.domain.Dept;
import com.fundodoo.sfe.domain.Role;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class PermissionInfo implements Serializable {
	private static final long serialVersionUID = -367144823933822369L;

	private boolean checkAuth = true;   //true: check   false:uncheck
	
	private String userType;   //1:manager   2:common user

	private Long deptId;
	
	private Long roleId;
	
	private List<Dept> allSubDept = new ArrayList<Dept>();
	
	private List<Role> allSubRole = new ArrayList<>();
	
	public PermissionInfo() {
	}
}